package com.itheima.stock.service;

import com.itheima.stock.dto.LoginDTO;
import com.itheima.stock.vo.CaptchaVO;
import com.itheima.stock.vo.LoginVO;

public interface UserService {

    /**
     * 用户登录
     * @param loginDTO
     * @return
     */
    LoginVO login(LoginDTO loginDTO);

    /**
     * 获取验证码
     * @return
     */
    CaptchaVO captcha();
}
